#! /bin/bash
echo "downloading images ..."
wget --load-cookies /tmp/cookies.txt "https://docs.google.com/uc?export=download&confirm=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate 'https://docs.google.com/uc?export=download&id=1QBvwPBWKHV0Y6zle6Y2iI-vvE5pMrs8x' -O- | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\1\n/p')&id=1QBvwPBWKHV0Y6zle6Y2iI-vvE5pMrs8x" -O 2011_09_26.tar.gz && rm -rf /tmp/cookies.txt

echo "uncompressing ..."
tar -xvzf 2011_09_26.tar.gz
rm 2011_09_26.tar.gz
